<%@ Page Language="C#" Inherits="Castle.MonoRail.Views.AspView.ViewAtDesignTime<IPostView>" %>
<%@ Import namespace="KenEgozi.Com.Domain.Aggregates.Post"%>
<%@ Import namespace="KenEgozi.Com.Weblog.Interfaces"%>

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>Comments feed for <%=view.Post.Title %></title>
	<link rel="alternate" type="text/html" href="~~/<%=view.Post.Permalink %>" />
	<link rel="self" type="application/atom+xml" href="~~/<%=view.Post.Permalink%>?SyndicationType=Atom" />
	<updated><%=view.DateTimeHelper.ToUTC(view.Updated) %></updated>
	<id>~~/<%=view.Post.Permalink %></id>
	<%foreach(Comment comment in view.Comments) { %>
	<subView:OneComment Comment="<%=comment%>"></subView:OneComment>
	<%} %>
</feed>